home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-04-21 | 6.6 KB | 212 lines | [TEXT/ttxt] |
- # Macintosh-specific "autoexec.net" config. file
- # for version 2.2 (Do not change the name or the location
- # of this file, as Net/Mac will not find it.)
- #
- # When installing TCP for your node, be sure to replace all
- # occurrences of YOURCALL here with your callsign and all
- # occurrences of IPADDRESS with the IP address that was
- # assigned to you by your local IP Address Coordinator.
- # (You MUST have a distinct personal IP address for every
- # station you put on the air; if you don't know what this
- # means, ask others active on TCP how to get one.)
- #
- # Read Bdale's Documentation to understand this file better.
- #
- # Define who we are -- this must come first in this file:
- #
- hostname YOURCALL
- ax25 mycall YOURCALL
- #
- # Path to the Hosts.Net file - It could reside on another volume, or
- # be buried in another folder. Also the file can now be named what-
- # ever you desire. Note that double quotes are required if there are
- # any space characters in the path name, otherwise they are not needed.
- #
- hostfile "HD:Net:Hosts.net"
- #
- # Attach interfaces:
- # Syntax for a Macintosh using the modem port for AX25:
- # attach <hw type> <not used but needs to be here> <string version
- # of the port ('a' or 'b')> <mode> <label> <bufsize> <mtu> <speed>
- #
- # The following typical attach command for the Mac says that you
- # will use an asynchronous port, specifically port 'a' (modem
- # port), talking to an "ax25" (i.e. KISS-based) TNC. The name you
- # will use when running TCP to refer to this port is "ax0". You
- # allow a maximum of 2048 bytes of buffer; packets are no more
- # than 256 bytes long. You talk to the port at 9600 baud.
- #
- attach asy 1 a ax25 ax0 2048 256 9600
- #
- # The following describes the parameters for the AppleTalk driver.
- # Note that this is a very simple AppleTalk interface, and will only
- # work with another Mac in the same AppleTalk zone running this
- # version of Net/Mac. (uses the LAP protocol)
- #
- # argv[0]: hardware type, must be "appletalk"
- # argv[1]: Protocol Type, e.g., "77"
- # argv[2]: device name,must be "b"
- # argv[3]: mode, must be "arpa"
- # argv[4]: interface label, e.g., "at0"
- # argv[5]: maximum number of packets allowed on receive queue, e.g., "5"
- # argv[6]: maximum transmission unit, bytes, e.g., "600" < appletalk limitation.
- #
- # attach appletalk 77 b arpa at0 5 600
- #
- # Insert your personal IP address in []'s:
- #
- ip addr [IPADDRESS]
- #
- # By default all packets will go out the "ax0" port:
- #
- route add default ax0
- #
- # The format is: param <label> <hex value> <hex value> ...
- #
- # As an example, a TNC-1 with an old crystal transmitter that is
- # slow to key may need longer TXDELAY and TXTAIL values than the
- # defaults, e.g.:
- #
- param ax0 1 40
- param ax0 2 200
- param ax0 3 10
- param ax0 4 3
- param ax0 5 0
- #
- # Time To Live is the maximum number of hops a packet can take
- # before it is thrown away. This command prevents an infinite
- # loop from occuring with packets in the network.
- #
- ip ttl 16
- #
- # The Maximum Segment Size is the largest single transmission that
- # you will send. An mss of 216 corresponds to the mtu of 256 set
- # up in the attach command above, overhead bytes considered.
- #
- tcp mss 216
- #
- # The Window parameter establishes the maximum number of bytes
- # that may be outstanding before your system expects an ack. If
- # window is twice as big as mss, for example, there will be two
- # active packets on the channel at any given time... large values
- # of window provide improved throughput on full-duplex links, but
- # are a problem on the air. Keep mss <= window <= 2*mss if
- # you're on the air.
- #
- tcp window 432
- #
- # set round trip time to 5 seconds - the original documentation states
- # this value as seconds, when it should be milliseconds!
- #
- tcp irtt 5000
- #
- # Tell TCP where to keep a log file - note the leading ':' character.
- # The current directory prefix will be appended to the front of this entry.
- #
- log :spool:log
- #
- #
- # Tell TCP to start up each of its daemons:
- start smtp
- start ftp
- start echo
- start discard
- start telnet
- start finger
- #
- # smtp timer below sets the amount of time between attempts to send
- # messages in the queue. The value of 180 (seconds) sets it to every 3 min.
- # commented out for now, once you are familiar with smtp, you may change
- # this to meet your local needs. Three minutes is a good number if your station
- # is up 24hrs/day. If not, adjust to more like 10 minutes (600 seconds)
- #
- #smtp timer 180
- #
- # Set the escape character - this is required for the Mac 512/Plus
- # keyboards. You may comment it out for the ADB keyboards.
- #
- escape `
- #
- # Set the local timezone and offset to GMT
- #
- tzone PST 0
- #
- # Setup mailbox function for AX25 connects
- #
- mbox y
- #
- #
- # The following command is optional, and allows you to provide a
- # callsign lookup function assuming you have an appropriate datafile.
- # There are two parameters, the first is the path to the data file, and the
- # second is the path to a logging file.
- #
- #callbk Ham:Callsign:callsign.db Ham:Callsign:callsign.log
- #
- # The following commands turn on the beacon function.
- # The first command set which port to beacon on. The second command
- # is the callsign to beacon to (QST is everyone), the third line is the actual
- # beacon message followed by the beacon interval in seconds, and finally
- # the last command turns on the beacon.
- #
- beacon set ax0
- beacon callsign QST
- beacon message "[44.xxx.yyy.zzz] TCP/IP station - Yourtown, ST, USA"
- beacon interval 1200
- beacon enable
- #
- # Enable the Proxy ARP facility. This function allows for automatic
- # digipeating (so to speak) between several stations without having
- # to explicidly adding arp entries.
- #
- is_es enable
- #
- # enable IP Heard command. Keeps a running list of stations heard on
- # the channel. Typing IP H at the net> prompt will display the last 20 or
- # so stations that have been heard. You may also us AX25 H to see the last
- # 20 ax25 stations.
- #
- ip heard on
- #
- # The next entry set the default arp address. You may add additional arp
- # entries as needed.
- #
- arp add [44.4.0.0] ax0 QST-0
- #
- # AX.25 CONFIGURATION:
- # The values in the following entries reflect default values.
- # These values come into play when you are operating in the AX.25
- # mode, along with your "ax25 mycall" entry above.
- #
- # Disable AX.25 digipeating, and let them eat cake:
- #
- ax25 digipeat on
- #
- # Set the max number of frames allowed to remain unacknowledged--
- # cannot be greater than 7, and 1 is a good number:
- #
- ax25 maxframe 1
- #
- # Limit the size of I=fields:
- #
- ax25 paclen 256
- #
- # Limit the number of unsuccessful retransmissions:
- #
- ax25 retry 6
- #
- # Set the number of bytes that can be pending on an AX.25 receive
- # queue:
- #
- ax25 window 4096
- #
- ax25 t1 15000
- ax25 t2 10000
- ax25 t3 180000
- #
- # Turn on the mheard command in tcp...
- #
- ax25 heard on
- #
- # End of Autoexec.net
-